#include <string.h>
 
#include <stdio.h>
 
int main(void) {
 
   char *buf1 = "WWW.DOTCPP.COM", *buf2 = "www.dotcpp.com";
 
   int ptr = strcmp(buf2, buf1);
 
   if (ptr > 0) {
 
      printf("buffer 2 is greater than buffer 1\n");
 
   }
 
   if (ptr < 0){
 
      printf("buffer 2 is less than buffer 1\n");
 
   }
 
   if (ptr == 0) {
 
      printf("buffer 2 equals buffer 1\n");
 
   }
 
   return 0;
 
}